package com.qyhl.webtv.module_news.news.union.town.addmeeting;


import com.qyhl.webtv.commonlib.entity.UpTokenBean;

/**
 * Created by qyhl on 2018/3/6.
 */

public interface AddMeetingContract {
    interface AddMeetingView{
        void addSuccess(String msg);

        void addError(String msg);

        void getTokenSuccess(UpTokenBean data, boolean isUpload);

        void getTokenError(boolean isUpload);
    }

    interface AddMeetingPresenter{
        void addMeeting(String streetId, String content, String type, String images);

        void addSuccess(String msg);

        void addError(String msg);

        void getToken(boolean isUpload);

        void getTokenSuccess(UpTokenBean data, boolean isUpload);

        void getTokenError(boolean isUpload);
    }

    interface AddMeetingModel{
        void addMeeting(String streetId, String content, String type, String images);

        void getToken(boolean isUpload);
    }
}
